# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'watchlist.ui'
#
# Created: Tue Feb 22 20:54:15 2011
#      by: PySide uic UI code generator
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_Watchlist(object):
    def setupUi(self, Watchlist):
        Watchlist.setObjectName("Watchlist")
        Watchlist.resize(624, 460)
        self.verticalLayout = QtGui.QVBoxLayout(Watchlist)
        self.verticalLayout.setObjectName("verticalLayout")
        self.frame = QtGui.QFrame(Watchlist)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridLayout = QtGui.QGridLayout(self.frame)
        self.gridLayout.setMargin(3)
        self.gridLayout.setObjectName("gridLayout")
        self.leSearch = QtGui.QLineEdit(self.frame)
        self.leSearch.setMinimumSize(QtCore.QSize(0, 40))
        self.leSearch.setAlignment(QtCore.Qt.AlignCenter)
        self.leSearch.setObjectName("leSearch")
        self.gridLayout.addWidget(self.leSearch, 0, 0, 1, 1)
        self.cbFound = QtGui.QComboBox(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbFound.sizePolicy().hasHeightForWidth())
        self.cbFound.setSizePolicy(sizePolicy)
        self.cbFound.setMinimumSize(QtCore.QSize(0, 40))
        self.cbFound.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
        self.cbFound.setObjectName("cbFound")
        self.gridLayout.addWidget(self.cbFound, 0, 1, 1, 1)
        self.pbAddSerie = QtGui.QPushButton(self.frame)
        self.pbAddSerie.setObjectName("pbAddSerie")
        self.gridLayout.addWidget(self.pbAddSerie, 0, 2, 1, 1)
        self.verticalLayout.addWidget(self.frame)
        self.tbvSeries = MyTableView(Watchlist)
        self.tbvSeries.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        self.tbvSeries.setFrameShadow(QtGui.QFrame.Plain)
        self.tbvSeries.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed)
        self.tbvSeries.setDragEnabled(True)
        self.tbvSeries.setDragDropOverwriteMode(False)
        self.tbvSeries.setDragDropMode(QtGui.QAbstractItemView.InternalMove)
        self.tbvSeries.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.tbvSeries.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tbvSeries.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tbvSeries.setGridStyle(QtCore.Qt.DashLine)
        self.tbvSeries.setSortingEnabled(True)
        self.tbvSeries.setCornerButtonEnabled(False)
        self.tbvSeries.setObjectName("tbvSeries")
        self.verticalLayout.addWidget(self.tbvSeries)
        self.widget = QtGui.QWidget(Watchlist)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setMinimumSize(QtCore.QSize(0, 80))
        self.widget.setObjectName("widget")
        self.gridLayout_2 = QtGui.QGridLayout(self.widget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.lbCol1 = QtGui.QLabel(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbCol1.sizePolicy().hasHeightForWidth())
        self.lbCol1.setSizePolicy(sizePolicy)
        self.lbCol1.setMinimumSize(QtCore.QSize(32, 24))
        self.lbCol1.setMaximumSize(QtCore.QSize(20, 16))
        self.lbCol1.setFrameShape(QtGui.QFrame.Box)
        self.lbCol1.setObjectName("lbCol1")
        self.gridLayout_2.addWidget(self.lbCol1, 0, 0, 1, 1)
        self.lbCol1Tx = QtGui.QLabel(self.widget)
        self.lbCol1Tx.setObjectName("lbCol1Tx")
        self.gridLayout_2.addWidget(self.lbCol1Tx, 0, 1, 1, 1)
        self.lbEmblem1 = QtGui.QLabel(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbEmblem1.sizePolicy().hasHeightForWidth())
        self.lbEmblem1.setSizePolicy(sizePolicy)
        self.lbEmblem1.setMinimumSize(QtCore.QSize(32, 24))
        self.lbEmblem1.setFrameShape(QtGui.QFrame.Box)
        self.lbEmblem1.setObjectName("lbEmblem1")
        self.gridLayout_2.addWidget(self.lbEmblem1, 0, 2, 1, 1)
        self.lbEmblem1Tx = QtGui.QLabel(self.widget)
        self.lbEmblem1Tx.setObjectName("lbEmblem1Tx")
        self.gridLayout_2.addWidget(self.lbEmblem1Tx, 0, 3, 1, 1)
        self.lbCol2 = QtGui.QLabel(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbCol2.sizePolicy().hasHeightForWidth())
        self.lbCol2.setSizePolicy(sizePolicy)
        self.lbCol2.setMinimumSize(QtCore.QSize(32, 24))
        self.lbCol2.setFrameShape(QtGui.QFrame.Box)
        self.lbCol2.setObjectName("lbCol2")
        self.gridLayout_2.addWidget(self.lbCol2, 1, 0, 1, 1)
        self.lbCol2Tx = QtGui.QLabel(self.widget)
        self.lbCol2Tx.setObjectName("lbCol2Tx")
        self.gridLayout_2.addWidget(self.lbCol2Tx, 1, 1, 1, 1)
        self.verticalLayout.addWidget(self.widget)

        self.retranslateUi(Watchlist)
        QtCore.QObject.connect(self.pbAddSerie, QtCore.SIGNAL("clicked()"), Watchlist.addSerieClicked)
        QtCore.QMetaObject.connectSlotsByName(Watchlist)

    def retranslateUi(self, Watchlist):
        Watchlist.setWindowTitle(QtGui.QApplication.translate("Watchlist", "Watchlist", None, QtGui.QApplication.UnicodeUTF8))
        self.pbAddSerie.setText(QtGui.QApplication.translate("Watchlist", "Add\n"
"Show", None, QtGui.QApplication.UnicodeUTF8))
        self.lbCol1Tx.setText(QtGui.QApplication.translate("Watchlist", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.lbEmblem1Tx.setText(QtGui.QApplication.translate("Watchlist", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.lbCol2Tx.setText(QtGui.QApplication.translate("Watchlist", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))

from mytableview import MyTableView
